<template>
  <div>
    <el-container style="height: 100%">
      <el-aside width="23%" >
        <dv-border-box-11 style="height: 90%;" title="告 警 统 计" :color="['rgb(34,69,114)','rgb(4,17,53)']" backgroundColor="rgba(4,17,53,0.1)" >
          <alarm-data></alarm-data>
        </dv-border-box-11>
      </el-aside>
      <el-main style="width: 42%; margin-top: 20px; padding: 0;">
        <dv-border-box-1 backgroundColor="rgba(4,17,53,0.1)" :color="['rgb(34,69,114)','rgb(4,17,53)']">
          <alarm-contrast></alarm-contrast>
          <div style="margin: 25px 50px">
            <dv-decoration-6 style="width:100%;height:10px;" :color="['rgb(122,202,236)','rgb(34,69,114)']"/>
            <div class="empty-space"></div>
            <div class="empty-space"></div>
            <trend-analysis style="height: 28vh"></trend-analysis>
            <dv-decoration-7 style="width:100%;height:30px" :color="['rgb(34,69,114)','rgb(255,255,255)']">
              <div class="subTitle">
                各 机 组 告 警 统 计
              </div>
            </dv-decoration-7>
            <div class="empty-space"></div>
            <component-alarm style="height: 26vh"></component-alarm>
          </div>
        </dv-border-box-1>
      </el-main>
      <el-aside width="33%">
        <el-row>
          <dv-border-box-11 title="异 常 记 录" :color="['rgb(34,69,114)','rgb(4,17,53)']" backgroundColor="rgba(4,17,53,0.1)">
            <abnormal-record></abnormal-record>
          </dv-border-box-11>
        </el-row>
        <el-row>
          <dv-decoration-5 style="width:100%;height:30px" :color="['rgb(34,69,114)','rgb(4,17,153)']"/>
          <reason-rank style="height: 40vh"></reason-rank>
          <dv-decoration-5 style="width:100%;height:30px" :color="['rgb(34,69,114)','rgb(4,17,153)']"/>
        </el-row>
      </el-aside>
    </el-container>
  </div>
</template>

<script>
import AlarmData from './component/alarmData'
import AlarmContrast from './component/alarmContrast'
import TrendAnalysis from '../dataAnalysis/component/trendAnalysis'
import ComponentAlarm from '../dataAnalysis/component/componentAlarm'
import ReasonRank from '../dataAnalysis/component/reasonRank'
import AbnormalRecord from './component/abnormalRecord'
export default {
  name: 'HomePage',
  components: {
    AlarmData,
    AlarmContrast,
    TrendAnalysis,
    ComponentAlarm,
    ReasonRank,
    AbnormalRecord
  },
  data () {
    return {
    }
  }
}
</script>

<style scoped>
  .subTitle{
    font-size: 20px;
    text-align: center;
    margin: 0 20px;
    color: white;
  }
  .empty-space {
    width: 100%;
    height: 10px;
  }
</style>
